-- GENERATED SPELL FOR [Stormpike Owl] --


function spell0_14283(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_14283', 585, 1)
end

function Sorts_14283(pUnit, Event)
local choix_sorts_14283 = math.random(0, 0)
if choix_sorts_14283 == 0 then
pUnit:RegisterEvent('spell0_14283', 1, 1)
end
end

function mob14283_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14283', math.random(1500, 3000), 1)
end

function mob14283_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14283_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14283_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14283, 1, 'mob14283_Action')
RegisterUnitEvent(14283, 2, 'mob14283_Leave')
RegisterUnitEvent(14283, 3, 'mob14283_Kill')
RegisterUnitEvent(14283, 4, 'mob14283_Die')
